package org.dromara.bykt.domain.bo;

import org.dromara.bykt.domain.BYKTSimulationInfo;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 试卷信息业务对象 simulation_info
 *
 * @author Hou
 * @date 2025-06-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BYKTSimulationInfo.class, reverseConvertGenerate = false)
public class BYKTSimulationInfoBo extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 课程ID
     */
    @NotNull(message = "课程ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long courseId;

    /**
     * 试卷ID
     */
    private Long simulationId;

    /**
     * 试卷名称
     */
    @NotBlank(message = "试卷名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String simulationName;

    /**
     * 试卷简介
     */
    private String synopsis;

    /**
     * 图片
     */
    private String image;

    /**
     * 考试时间
     */
    private Long examTime;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 课程分类ID
     */
    private Long categoryId;
}
